-
Notifications
You must be signed in to change notification settings - Fork 2.5k
draft: ffmpeg5 split #42936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft: ffmpeg5 split #42936
Conversation
8d3425b to
ff0bb80
Compare
It is a new package
as mentioned in CONTRIBUTING.md, use one commit per package
I don't think it's a good idea to blindly do a complex update like this and not even test it. |
|
due to the large amount of random issues I found, I am not confident that the parts of this PR that I didn't check (like the huge lists of dependencies) don't contain similar random mistakes. Even if everything gets fixed, I don't think we should merge this without carefully checking every single line which is probably way harder than just doing the update again. |
cd0b824 to
016e8ff
Compare
|
I'm advocate for not using major version of package as suffix for libraries' package name, instead, I think those libaries should use its SOVERSION for pkgname, like Debian. |
|
have a list of some packages that didn't build last night, i'll look at them today(?)
not sure what you mean, rename libxxx's to lib*5 and have lib*5 and lib*4? |
|
K everything should be building except the few outliers I added to OP. Also, should we change this message? |
|
fwiw, all ffmpeg5 packages seem to compile with a few extra patches for ffmpeg6 not sure if skipping 5 to 6 is fine (6 has all the av1 codec stuff i personally want) note: still haven't gotten around to testing |
|
installed ffmpeg6 last night https://github.com/zlice/void-packages/tree/ffmpeg6-split
chrome just needs flags i guess? |
|
Have been running ffmpeg6 fine for a bit now, though on top of my This does touch a lot and is relying on other big changes. What should next steps be? (will probably make another PR with the 6 branch at some point) |
|
Closing this in favor of #43761 since I have been running ffmpeg6 for a month now. |
[ci skip]
Testing the changes
I have conflicting changes from intel packages and don't want to mess with my system. If it makes sense I'll move these changes here like I originally intended. ffmpeg5 makes Intel vaapi easier and only rely on oneVPL iirc.I do not use 80%+ of these packages. I may be able to run Blender, and I use shotcut.
New package
Local build testing
Discussion
Continuation of #36315 - thx tibequadorian :)
It was suggested to make
ffmpegversion 5 and 'copy' (create a new?)ffmpeg4package, and that seems to work well.As stated, I haven't and probably won't test most of these packages, hoping for others to voice in on what's working.
A few months back (and now) afaict everything has been compiling with ffmpeg5 except for the few problem packages still using ffmpeg4 (below). Can add to the ffmpeg4 list as a incompatible package is found.
libavresampleis deprecated, but marked as a dependency when trying to build other packages and installffmpeg(5). I think the right way to handle this is make a meta package and the add to removals?gstreamer 1.22.1 updates could go before this
Commit naming / misc
ffpmeg4isn't "new", not sure what the commit messages should be really for the 4 and 5 split. Additionally xlint complains aboutffmpeg4revision being 3 and not 1 because it's a "new" package, I assume that's right but not sure.Not sure how commits should be separated. ffmpeg4/5 could be split and all the rev bumps included (otherwise it's over 100 commits). opencv was updated to 4.7.0 for ffmpeg5 so I figured that should be a separate commit?I wouldn't mind moving the intel packages into here under another commit. That just got a potential fix that may allow merging but I imagine moving to ffmpeg5 will change and even remove some of those packages. (I won't really test these changes without Intel vaapi either way.)
Maintainer for previous ffmpeg(4) was orphaned, I can put my name in there if that matters, though I don't exactly see myself keeping up on ffmpeg.
STILL FFMPEG4
These are a mix of emulators, games and/or older packages.
handbrakeqt5-webengine(need patch and version bump.may work? if not gentoo has a patch? https://bugs.gentoo.org/831487)vlc(vlc4 will support ffmpeg5, there's a patch to build 3.x with ffmpeg5 but it will lack vaapi)osg(OpenSceneGraph plusxine-lib)ytmdl? not sure but it usespython3-ffmpeg-pythonwhich being 6-8yr old I imagine is ffmpeg4HAVE NOT BUILT YET (big-uns)
qt5-webengine- some patches and version updatedigikam(qt5-webengine)chromium-some patches but vaapi doesnt seem to be working(use special flags)UPDATED (for ffmpeg5)
unpaper: update to 7.0.0.
guvcview: update to 2.0.8.
qt5: update to 5.15.8
qt5-webengine: update to 5.18.13
shiboken2: revbump for qt5.15.8 (patch)
python3-pyside2: update to 5.15.8 (patch)